
module.exports = (app, basicUrl) => {
    //查询
    app.router.get(
        basicUrl + "/system/operLogs/list",
        app.controller.system.operLogs.list
    );

    //详情
    app.router.get(
        basicUrl + "/system/operLogs/:id",
        app.controller.system.operLogs.detail
    );

    //新增
    app.router.post(
        basicUrl + "/system/operLogs",
        app.controller.system.operLogs.create
    );

    //删除
    app.router.delete(
        basicUrl + "/system/operLogs/:id",
        app.controller.system.operLogs.delete
    );

    //修改
    app.router.put(
        basicUrl + "/system/operLogs",
        app.controller.system.operLogs.update
    );

    //导出
    app.router.post(
        basicUrl + "/system/operLogs/export",
        app.controller.system.operLogs.downLoad
    );

    
};      
    